<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>用户登陆</title>
<script language=javascript>

function SetFocus()
{
if (document.Login.UserName.value=="")
	document.Login.UserName.focus();
else
	document.Login.UserName.select();
}

function CheckForm()
{
	if(document.Login.UserName.value=="")
	{
		alert("请输入用户名！");
		document.Login.UserName.focus();
		return false;
	}
	if(document.Login.Password.value == "")
	{
		alert("请输入密码！");
		document.Login.Password.focus();
		return false;
	}
	if(document.Login.CheckCode.value == "")
	{
		alert("请输入验证码！");
		document.Login.CheckCode.focus();
		return false;
	}
	return true;
}

function SubmitTable(){
	location.href="iframeindex.php";
   if(CheckForm()){
		Login.submit();
		resetBtn();
   }
}

function resetBtn(){
	Login.reset();
	return false;
}

//document.onkeydown=SubmitTable; 
function keyListener(){ 
    //e = e ? e : event;// 兼容FF 
    if(event.keyCode==13){ 
		Login.submit();
    } 
} 
</script> 
<style type="text/css">
<!--
* {
       margin: 0; padding:0
}
body {
	margin:0 0 0 0;
	margin-top: 80px;
	background-image: url(images/bj.gif);
}
.style1 {
	font-size: 12px; color: #c41707
}
.style2 {
	font-size: 12px; padding-bottom: 10px; text-decoration: underline
}
.yanzma {
	border-right: #006633 1px dashed; border-top: #006633 1px dashed; font-size: 12px; right: 4px; left: 4px; border-left: #006633 1px dashed; bottom: 2px; border-bottom: #006633 1px dashed; top: 2px; background-color: #c0c0c0
}
.input {
	border-right: #e0d7b1 1px solid; border-top: #e0d7b1 1px solid; font-size: 12px; border-left: #e0d7b1 1px solid; color: #000066; line-height: 14px; border-bottom: #e0d7b1 1px solid; height: 18px
}
-->
</style>
</head>

<body >
<script language="javascript">
   var errorType='';
   //if(errorType!=""){alert(errorType);}
</script>
</body>
</html>
